//
//  FindTableViewCell.m
//  zhuchiren
//
//  Created by rainday on 15/1/25.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import "FindTableViewCell.h"
#import <RACEXTScope.h>
#import <ReactiveCocoa.h>


@implementation FindTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _avatarButton.layer.cornerRadius = 5;
    _avatarButton.layer.masksToBounds = YES;
    
    @weakify(self);
    [[_avatarButton rac_signalForControlEvents:UIControlEventTouchUpInside] subscribeNext:^(id x) {
        @strongify(self);
        if ([self.delegate respondsToSelector:@selector(viewUser:)]) {
            [self.delegate viewUser:_username];
        }
    }];
  
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    
    // Configure the view for the selected state
    

    
    
}


@end
